package com.asiainfo.kbisheet.control
{
	import com.asiainfo.kbisheet.model.MessageModel;
	import com.asiainfo.kbisheet.model.SettingModel;

	public class MessageControl
	{
		internal var messageModel:MessageModel = MessageModel.getInstance();
		
		public function MessageControl()
		{
		}
		
		/* 更新消息 */
		public function updateMessage(message:String):void{
			if(SettingModel.getInstance().settingVO.debug){
				messageModel.message = message;
			}
		}
	}
}